<!-- <script>
  //写数据，导出（createApp(App.vue)）
  export default{
    data() {
      return {
        msg:'北京'
      }
    }
  }  
</script> -->
<script setup>
  import { ref } from 'vue'//引入ref
  //调用ref，定义响应式数据
  const msg = ref('北京')
  //导入Api.vue
  import Api from './Api.vue'
  //导入user.vue
  import User from './user.vue'
</script>

<template>
  <!-- <h1>{{msg}}</h1>
  <br/>
  <Api/> -->
  
  <User/>
</template>

<style scoped>
  h1 {
    color: gray;
  }
</style>
